package com.ysqcould.system.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 字典对象 t_dict
 * 
 * @author ruoyi
 * @date 2022-08-09
 */
public class AssDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字典ID主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 字典类型ID */
    @Excel(name = "字典类型ID")
    private Long typeId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortRank;

    /** 编号编码 */
    @Excel(name = "编号编码")
    private String sn;

    /** 字典类型KEY */
    @Excel(name = "字典类型KEY")
    private String typeKey;

    /** 协会ID */
    @Excel(name = "协会ID")
    private Long asId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setSortRank(Long sortRank) 
    {
        this.sortRank = sortRank;
    }

    public Long getSortRank() 
    {
        return sortRank;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setTypeKey(String typeKey) 
    {
        this.typeKey = typeKey;
    }

    public String getTypeKey() 
    {
        return typeKey;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("sortRank", getSortRank())
            .append("sn", getSn())
            .append("typeKey", getTypeKey())
            .append("asId", getAsId())
            .toString();
    }
}
